#ifndef PROTOCOL_H
#define PROTOCOL_H

namespace Protocol
{
    enum DataType
    {
        NUL,
        HEART,
        REGISTER,
        LOGIN,
        NEWGAME,
        JOINGAME,
        EXITGAME,
        ROOMLIST,
        KEY,
        START,
        PAUSE,
        STOP,
        PLAYERINFO,
        GAMEDATA,
        GAMEDATAALL,
        TIMEDOWN,
        TALK,
        ABNORMALEXIT,
        RELINK
    };

    enum INGAME
    {
        DISCONNECTED,
        CONNECTED,
        LOOK
    };
}



#endif // PROTOCOL_H
